# 递归添加 aio 所有cpp文件
file(GLOB_RECURSE nas_share_backup_srcs *.cpp)

add_library(nas_share_backup_obj
    OBJECT
    ${nas_share_backup_srcs}
)

target_include_directories(nas_share_backup_obj
    PRIVATE
    ${NAS_ROOT_PATH}/src
    ${NAS_ROOT_PATH}/src/common
    ${NAS_ROOT_PATH}/src/component
    ${NAS_ROOT_PATH}/src/component/statistics
    ${NAS_SERVICE_ROOT_DIR}
    ${PLUGIN_FRAMEWORK_PATH}/inc
    ${PLUGIN_FRAMEWORK_PATH}/inc/thrift_interface
    ${PLUGIN_FRAMEWORK_PATH}/inc/rpc
    ${PLUGIN_FRAMEWORK_PATH}/inc/common
    ${PLUGIN_FRAMEWORK_PATH}/inc/job
    ${PLUGIN_FRAMEWORK_PATH}/inc/job_mgr
    ${PLUGIN_FRAMEWORK_PATH}/inc/rpc/certificateservice
    ${MODULE_ROOT_PATH}/src/
#    ${DME_PATH}/Framework/src/inc
)

target_link_libraries(nas_share_backup_obj
    PRIVATE
    nas_share_common_obj
)
